package exercise05;

public class Test05 {
    public static void main(String[] args) {
        //交通工具
        Vehicle vehicle = new Vehicle(160, 3); //交通工具
        Vehicle bicycle = new Bicycle(50, 0.03); //脚踏车
        Vehicle car = new Car(200, 1);//小轿车

        vehicle.runStop(50);//交通工具运行
        bicycle.runStop(60);//脚踏车运行
        car.runStop(100);//小轿车运行


    }
}
